<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="/WEB-INF/css/styles.css">
	<style type="text/css">
	H1{
		position:center;
		color:red;
	}
	</style>
  </head>
  <script language="javascript">
  	function toListPage(){
		window.location="<%=request.getContextPath()%>/topic/list.do";
	}
  </script>
  
  <body onload="toListPage()">
    <H1>Welcome to this page</H1>
    <a href="hello.do">hello.do</a>
  </body>
</html>
